/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entity;

import java.sql.Date;

/**
 *
 * @author KAKAIT
 */
public class Account {
    private String username;
    private String password;
    private String firstname;
    private String lastname;
    private String country;
    private String city;
    private String state_province;
    private String street;
    private String mobile;
    private String homephone;
    private String typecard;
    private String cardnumber;
    private String cardexpiry;
    private String email;
    private int role;
    private double credit;

    public Account() {
    }

    public Account(String username, String password, String firstname, String lastname, String country, String city, String state_province, String street, String mobile, String homephone, String typecard, String cardnumber, String cardexpiry, String email, int role) {
        this.username = username;
        this.password = password;
        this.firstname = firstname;
        this.lastname = lastname;
        this.country = country;
        this.city = city;
        this.state_province = state_province;
        this.street = street;
        this.mobile = mobile;
        this.homephone = homephone;
        this.typecard = typecard;
        this.cardnumber = cardnumber;
        this.cardexpiry = cardexpiry;
        this.email = email;
        this.role = role;
    }

    public Account(String username, String password, String firstname, String lastname, String country, String city, String state_province, String street, String mobile, String homephone, String typecard, String cardnumber, String cardexpiry, String email, int role, double credit) {
        this.username = username;
        this.password = password;
        this.firstname = firstname;
        this.lastname = lastname;
        this.country = country;
        this.city = city;
        this.state_province = state_province;
        this.street = street;
        this.mobile = mobile;
        this.homephone = homephone;
        this.typecard = typecard;
        this.cardnumber = cardnumber;
        this.cardexpiry = cardexpiry;
        this.email = email;
        this.role = role;
        this.credit = credit;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the firstname
     */
    public String getFirstname() {
        return firstname;
    }

    /**
     * @param firstname the firstname to set
     */
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    /**
     * @return the lastname
     */
    public String getLastname() {
        return lastname;
    }

    /**
     * @param lastname the lastname to set
     */
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    /**
     * @return the country
     */
    public String getCountry() {
        return country;
    }

    /**
     * @param country the country to set
     */
    public void setCountry(String country) {
        this.country = country;
    }

    /**
     * @return the city
     */
    public String getCity() {
        return city;
    }

    /**
     * @param city the city to set
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * @return the state_province
     */
    public String getState_province() {
        return state_province;
    }

    /**
     * @param state_province the state_province to set
     */
    public void setState_province(String state_province) {
        this.state_province = state_province;
    }

    /**
     * @return the street
     */
    public String getStreet() {
        return street;
    }

    /**
     * @param street the street to set
     */
    public void setStreet(String street) {
        this.street = street;
    }

    /**
     * @return the mobile
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * @param mobile the mobile to set
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * @return the homephone
     */
    public String getHomephone() {
        return homephone;
    }

    /**
     * @param homephone the homephone to set
     */
    public void setHomephone(String homephone) {
        this.homephone = homephone;
    }

    /**
     * @return the typecard
     */
    public String getTypecard() {
        return typecard;
    }

    /**
     * @param typecard the typecard to set
     */
    public void setTypecard(String typecard) {
        this.typecard = typecard;
    }

    /**
     * @return the cardnumber
     */
    public String getCardnumber() {
        return cardnumber;
    }

    /**
     * @param cardnumber the cardnumber to set
     */
    public void setCardnumber(String cardnumber) {
        this.cardnumber = cardnumber;
    }

    /**
     * @return the cardexpiry
     */
    public String getCardexpiry() {
        return cardexpiry;
    }

    /**
     * @param cardexpiry the cardexpiry to set
     */
    public void setCardexpiry(String cardexpiry) {
        this.cardexpiry = cardexpiry;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the role
     */
    public int getRole() {
        return role;
    }

    /**
     * @param role the role to set
     */
    public void setRole(int role) {
        this.role = role;
    }

    /**
     * @return the credit
     */
    public double getCredit() {
        return credit;
    }

    /**
     * @param credit the credit to set
     */
    public void setCredit(double credit) {
        this.credit = credit;
    }

    
    

    
    
    
    
    
    
}
